emoji: Skip overly wide fallback rendering
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Dec 2017 03:09:08 +0000 (22:09 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 18 Dec 2017 03:11:24 +0000 (22:11 -0500)
commit675a4111e9f48b1f2290eafdc0d9598fbe48e199
tree13fe37ff14a2f0208e87cfb46d7b168d6a043c45
parent22269902ede92dfd5136aecb6a8eb2bb6d00470c
emoji: Skip overly wide fallback rendering

Some emoji fonts (such as Emoji One), render Emoji sequences
such as some of the family variations using multiple individual
glyphs. This rendering is too wide and breaks our grid layout.
Therefore, we will just skip any sequence whose rendering is
more than twice as wide as a simple smiley.
gtk/gtkemojichooser.c